[python] Vscode Error When Running Tests Causing 30 Second Delay

[python] Vscode Error When Running Tests Causing 30 Second Delay